﻿using System;
using KPIS.GERP.GFMS.MODEL;
using System.Collections.Generic;

namespace KPIS.GERP.GFMS.IBLL
{
    public interface IBLL_BGM_ProjectOperationExpense
    {
        IList<M_BGM_ProjectOperationExpense> GetFull(string bgm_proj_oper_seq
            , string bgm_source_seq, string bgm_exp_grp_seq);
        IList<M_BGM_ProjectOperationExpense> GetProjectExpense(string bgm_proj_oper_seq
            , string bgm_proj_seq);
        IList<M_BGM_ProjectOperationExpense> GetList(string bgm_proj_oper_seq
            , string bgm_source_seq, string bgm_exp_grp_seq);
        IList<M_BGM_ProjectOperationExpense> GetGroupBgmSource(string bgm_proj_oper_seq);
        IList<M_BGM_ProjectOperationExpense> GetGroupBgmExpGrp(string bgm_proj_oper_seq
            , string bgm_source_seq);
        IList<M_BGM_ProjectOperationExpense> GetGroupBgmExp(string bgm_proj_oper_seq
            , string bgm_source_seq, string bgm_exp_grp_seq);
        M_BGM_ProjectOperationExpense GetInfo(string seq);
        //string SelectRecentInsertedRoleSeq();

        bool CheckAmount(int bgm_proj_oper_exp_seq, double amount);

        string Insert(M_BGM_ProjectOperationExpense info);
        void Update(M_BGM_ProjectOperationExpense info);
        void Delete(M_BGM_ProjectOperationExpense info);
    }
}
